#ifndef SETTERBOX_H
#define SETTERBOX_H

#include "setterbox_global.h"
#include <QTabWidget>

namespace Ui {
class SetterBox;
}

class SETTERBOXSHARED_EXPORT SetterBox : public QTabWidget
{
//  Q_OBJECT

public:
  explicit SetterBox(QWidget *parent = 0);
  ~SetterBox();
  QStringList arguments(QString filePath);
  QString ffmpeg();
  QString fullLine(QString filePath);

private:
  Ui::SetterBox *ui;
  int criticalMsg(QString s);
  QString addQuotes(QString s);

public slots:
  bool checkFields();
  void chooseOutDir();
  void chooseFFmpegPath();

  //处理选项的储存、读取和重置
public slots:
  void loadSettings();
  void saveSettings();
  void resetSettings();

};

#endif // SETTERBOX_H
